package day13;
//用户类
public class User {
    String phoneNumber;//手机号
    String name;//名字
    String password;//密码
    Package pack;//套餐对象
    double money;//消费金额
    double balance;//当前余额
    int minutes;//通话时长
    int messageCount;//短信条数
    int inTraffic;//使用流量

    public User(String phoneNumber, String name, String password, Package pack, double money, double balance, int minutes, int messageCount, int inTraffic) {
        this.phoneNumber = phoneNumber;
        this.name = name;
        this.password = password;
        this.pack = pack;
        this.money = money;
        this.balance = balance;
        this.minutes = minutes;
        this.messageCount = messageCount;
        this.inTraffic = inTraffic;
    }

    public String getPhoneNumber() {
        return phoneNumber;
    }

    public void setPhoneNumber(String phoneNumber) {
        this.phoneNumber = phoneNumber;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public Package getPack() {
        return pack;
    }

    public void setPack(Package pack) {
        this.pack = pack;
    }

    public double getMoney() {
        return money;
    }

    public void setMoney(double money) {
        this.money = money;
    }

    public double getBalance() {
        return balance;
    }

    public void setBalance(double balance) {
        this.balance = balance;
    }

    public int getMinutes() {
        return minutes;
    }

    public void setMinutes(int minutes) {
        this.minutes = minutes;
    }

    public int getMessageCount() {
        return messageCount;
    }

    public void setMessageCount(int messageCount) {
        this.messageCount = messageCount;
    }

    public int getInTraffic() {
        return inTraffic;
    }

    public void setInTraffic(int inTraffic) {
        this.inTraffic = inTraffic;
    }
    public void print() {

    }
}
